home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.Sound < prev    next >
Encoding:
Text File  |  1991-07-01  |  2.3 KB  |  70 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Sound
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. noDOCFndErr GEQU $0810 ; no DOC chip found
  9. docAddrRngErr GEQU $0811 ; DOC address range error
  10. noSAppInitErr GEQU $0812 ; no SAppInit call made
  11. invalGenNumErr GEQU $0813 ; invalid generator number
  12. synthModeErr GEQU $0814 ; synthesizer mode error
  13. genBusyErr GEQU $0815 ; generator busy error
  14. mstrIRQNotAssgnErr GEQU $0817 ; master IRQ not assigned
  15. sndAlreadyStrtErr GEQU $0818 ; sound tools already started
  16. unclaimedSndIntErr GEQU $08FF ; sound tools already started
  17. ffSynthMode GEQU $0001 ; Free form synthesizer mode
  18. noteSynthMode GEQU $0002 ; Note synthesizer mode.
  19. gen0off GEQU $0001 ; param to FFStopSound
  20. gen1off GEQU $0002 ; param to FFStopSound
  21. gen2off GEQU $0004 ; param to FFStopSound
  22. gen3off GEQU $0008 ; param to FFStopSound
  23. gen4off GEQU $0010 ; param to FFStopSound
  24. gen5off GEQU $0020 ; param to FFStopSound
  25. gen6off GEQU $0040 ; param to FFStopSound
  26. gen7off GEQU $0080 ; param to FFStopSound
  27. gen8off GEQU $0100 ; param to FFStopSound
  28. gen9off GEQU $0200 ; param to FFStopSound
  29. gen10off GEQU $0400 ; param to FFStopSound
  30. gen11off GEQU $0800 ; param to FFStopSound
  31. gen12off GEQU $1000 ; param to FFStopSound
  32. gen13off GEQU $2000 ; param to FFStopSound
  33. gen14off GEQU $4000 ; param to FFStopSound
  34. genAvail GEQU $0000 ; Generator available status
  35. ffSynth GEQU $0100 ; Free Form Synthesizer status
  36. noteSynth GEQU $0200 ; Note Synthesizer status
  37. lastBlock GEQU $8000 ; Last block of wave
  38. smReadRegister GEQU $00 ; Read Register routine
  39. smWriteRegister GEQU $04 ; Write Register routine
  40. smReadRam GEQU $08 ; Read Ram routine
  41. smWriteRam GEQU $0C ; Write Ram routine
  42. smReadNext GEQU $10 ; Read Next routine
  43. smWriteNext GEQU $14 ; Write Next routine
  44. smOscTable GEQU $18 ; Pointer to Oscillator table
  45. smGenTable GEQU $1C ; Pointer to generator table
  46. smGcbAddrTable GEQU $20 ; Pointer to GCB address table
  47. smDisableInc GEQU $24 ; Disable Increment routine
  48. ; offset constants for SoundParamBlock
  49. owaveStart GEQU 0
  50. owaveSize GEQU 4
  51. ofreqOffset GEQU 6
  52. odocBuffer GEQU 8
  53. obufferSize GEQU 10
  54. onextWavePtr GEQU 12
  55. ovolSetting GEQU 16
  56. ; offset constants for DocRegParamBlk
  57. ooscGenType GEQU 0
  58. ofreqLow1 GEQU 2
  59. ofreqHigh1 GEQU 3
  60. ovol1 GEQU 4
  61. otablePtr1 GEQU 5
  62. ocontrol1 GEQU 6
  63. otableSize1 GEQU 7
  64. ofreqLow2 GEQU 8
  65. ofreqHigh2 GEQU 9
  66. ovol2 GEQU 10
  67. otablePtr2 GEQU 11
  68. ocontrol2 GEQU 12
  69. otableSize2 GEQU 13
  70.